package com.thinkgem.jeesite.modules.shop.entity.receipt;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.shop.entity.order.ShopOrder;
import org.apache.ibatis.type.Alias;

@Alias("shopOrderReceipt")
public class ShopOrderReceipt extends DataEntity<ShopOrderReceipt> {
    private static final long serialVersionUID = 1L;
    private String name; // 单位名称
    private String code; // 纳税人识别码
    private String head; // 发票抬头
    private String address; // 注册地址
    private String telephone; // 电话号码
    private String bankName; // 开户银行
    private String bankAccount; // 银行账户
    private Short type; // 发票类型
    private String orderId; // 订单ID

    private ShopOrder shopOrder; // 订单

    public ShopOrderReceipt() {
        super();
    }

    public ShopOrderReceipt(String id) {
        super(id);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public ShopOrder getShopOrder() {
        return shopOrder;
    }

    public void setShopOrder(ShopOrder shopOrder) {
        this.shopOrder = shopOrder;
    }

}
